package com.run.guifeng.model.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

@Data
@TableName("guifeng_mall_carousel")
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class Carousel extends BaseEntity {
    @TableId(value = "id",type= IdType.AUTO)
    private Integer id;

    @TableField(value = "carousel_url", exist = true)
    private String carouselUrl;

    @TableField(value = "redirect_url", exist = true)
    private String redirectUrl;

    @TableField(value = "carousel_rank", exist = true)
    private Integer carouselRank;

    @TableField(value = "create_user", exist = true)
    private Integer createUser;

    @TableField(value = "update_user", exist = true)
    private Integer updateUser;

    @TableField(value = "is_deleted", exist = true)
    private Boolean deleted;
}
